package com.yifeng.dao;

import com.yifeng.po.User;
import com.yifeng.po.RoleUser;

import java.util.List;


/**
 * 部门Mapper
 * @author Administrator
 *
 */
public interface UserMapper extends BaseMapper<User> {

	void leave(Long id);

	User loadByUsername(String username);

	void saveUserRole(List<RoleUser> roleUser);

}